
package org.lboot.flow.module.event.sp.params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "流程事件服务实现更新参数")
public class FlowEventServiceProviderUpdateParams {

    @NotNull(message = "记录ID不可为空")
    @ApiModelProperty(value = "记录ID")
    Long id;

    @NotBlank(message = "服务实现名称不可为空")
    @ApiModelProperty(value = "服务实现名称")
    String serviceName;

    @ApiModelProperty(value = "服务实现版本")
    String version;
    
    @ApiModelProperty(value = "服务实现优先级")
    Integer priority;

    @ApiModelProperty(value = "所处节点")
    String node;
}
